package com.jc.gameconter.listener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class SystemStartListener implements ServletContextListener {
	Logger logger = LoggerFactory.getLogger(SystemStartListener.class);
	
	@Override
	public void contextInitialized(ServletContextEvent sce) {
		//logger.error("产品接收队列消费开始启动........");
//		Consumer consumer = new Consumer(MqUtil.queue);
//		consumer.start();
		//logger.error("产品接收队列消费启动成功........");		
	}

	@Override
	public void contextDestroyed(ServletContextEvent sce) {
		
	}
	

}